package com.ywg.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 商标订单
 * @TableName trademark_order
 */
@TableName(value ="trademark_order")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TrademarkOrder {
    /**
     * 
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 类型，TrademarkOrderTypeEnum
     */
    @TableField(value = "type")
    private Integer type;

    /**
     * 客户类型，ClientTypeEnum
     */
    @TableField(value = "client_type")
    private Integer clientType;

    /**
     * 客户名字
     */
    @TableField(value = "client_name")
    private String clientName;

    /**
     * 商标名
     */
    @TableField(value = "trademark_name")
    private String trademarkName;

    /**
     * 序列号
     */
    @TableField(value = "serial_number")
    private Long serialNumber;

    /**
     * attorney.id
     */
    @TableField(value = "attorney_id")
    private Long attorneyId;

    /**
     * 应收币种，CurrencyEnum
     */
    @TableField(value = "expected_currency")
    private String expectedCurrency;

    /**
     * 应收金额
     */
    @TableField(value = "expected_amount")
    private BigDecimal expectedAmount;

    /**
     * 费用结算周期，SettlementPeriodEnum
     */
    @TableField(value = "settlement_period")
    private Integer settlementPeriod;

    /**
     * 官费币种，CurrencyEnum
     */
    @TableField(value = "fee_currency")
    private String feeCurrency;

    /**
     * 官费金额
     */
    @TableField(value = "fee_amount")
    private BigDecimal feeAmount;

    /**
     * 付款账号，payment_account.id
     */
    @TableField(value = "payment_account_id")
    private Long paymentAccountId;

    /**
     * 申请人
     */
    @TableField(value = "applicant")
    private String applicant;

    /**
     * 申请人邮箱
     */
    @TableField(value = "applicant_email")
    private String applicantEmail;

    /**
     * 申请签名人，法人或负责人
     */
    @TableField(value = "applicant_signer")
    private String applicantSigner;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 递交人，admin_user.id
     */
    @TableField(value = "submit_user_id")
    private Long submitUserId;

    /**
     * 汇率
     */
    @TableField(value = "exchange_rate")
    private BigDecimal exchangeRate;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;
}